odhcpd: allow the use of an alternative cfg file
authorDavid Härdeman <[email protected]>
Sat, 20 Sep 2025 14:17:52 +0000 (16:17 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Wed, 1 Oct 2025 21:10:14 +0000 (23:10 +0200)
commit3b96480a74545636466dfc23d79aea70913d4f0d
tree0327ac0a0253d30d842e0c096afc967de3839925
parent7328bfe40f810c8ca78c86ed4811eb742a9d3761
odhcpd: allow the use of an alternative cfg file

This is mainly useful for development/testing, since it obviates the
need for a cfg file below the /etc hierarchy.

Also, fixup the help message (long options like "--help" are not
supported).

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/257
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/config.c
src/odhcpd.c
src/odhcpd.h